
        <div class="pageheader notab">
            <h1 class="pagetitle">分院管理</h1>
            <span class="pagedesc">对分院进行增加，修改或者禁用等操作</span>
            
        </div><!--pageheader-->
        
        <div id="contentwrapper" class="contentwrapper lineheight21">
        
        
			<div class="tableoptions">                    
				<button class="radius3" onclick="location.href='{:U('edit')}'">添加分院</button>
			</div><!--tableoptions-->

			<table cellpadding="0" cellspacing="0" border="0" id="table2" class="stdtable stdtablecb">
				<thead>
					<tr>
						<th class="head1">ID</th>
						<th class="head0">名称</th>
						<th class="head1">状态</th>
						<th class="head0">操作</th>
					</tr>
				</thead>
				<tbody>
					<volist name="list" id="vo">
					<tr>
						<td>{$vo.id}</td>
						<td>{$vo.unitname}</td>
						<td>
						<if condition="$vo.is_disabled eq 0"><!--未禁用-->
						<font color="green">已启用</font>
						<else /><!--已禁用-->
						<font color="red">已禁用</font>
						</if>
						</td>
						<td class="center">
							<a href="{:U('edit', 'id='.$vo['id'])}">修改</a> | 
							<!--<a href="{:U('del', 'id='.$vo['id'])}" onclick="return confirm('你确实要删除这个管理员吗？')">删除</a>-->
							<if condition="$vo.is_disabled eq 0"><!--未禁用-->
					<a href="{:U('disabled', array('id'=>$vo['id'],'is_disabled'=>1))}"><font color="red">禁用</font></a>
					<else /><!--已禁用-->
					<a href="{:U('disabled', array('id'=>$vo['id'],'is_disabled'=>0))}"><font color="green">启用</font></a>
					</if>
						</td>
					</tr>
					</volist>
				</tbody>
			</table>
			<div class="dataTables_paginate paging_full_numbers" id="dyntable2_paginate">
			{$page|default="<p style='text-align:center'>暂时没有数据</p>"}
			</div>
        
        </div><!--contentwrapper-->
        